package net.lqy.aipan.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lqy
 * @since 2025-06-01
 */
@Getter
@Setter
@Schema(name = "AccountDTO", description = "用户信息")
public class AccountDTO implements Serializable {


    @Schema(description = "ID")
    private Long id;

    @Schema(description = "用户名")
    private String username;



    @Schema(description = "头像URL")
    private String avatarUrl;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "角色")
    private String role;

    @Schema(description = "逻辑删除（0未删，1删除）")
    private Boolean del;

    @Schema(description = "创建时间")
    private Date gmtCreate;

    @Schema(description = "修改时间")
    private Date gmtModified;

    /**
     * 根文件夹id
     */
    private Long rootFileId;

    /**
     * 根文件夹名称
     */
    private String rootFileName;

    /**
     * 存储空间
     */
    private StorageDTO storageDTO;

}
